E-mail proxy

ABSTRACT

A system and method for providing e-mail messages to a user in a more efficient manner. Specifically, the system and method of the present invention enable attachments to be downloaded separately from the text-part of the e-mail message, which requires less bandwidth to download. Instead, these attachments are represented by links in the message which is downloaded to the e-mail client of the user, such that the user can “click on” or otherwise select a link in order to retrieve the attachment. Preferably, the attachment is downloaded to the computational device of the user in a streamed manner.

[0001] This application is a Continuation-in-Part application of U.S. patent application Ser. No. 09/657,001, filed on Sep. 7, 2000, and of PCT Application No. PCT/IL01/0004, filed on Aug. 28, 2001, both of which are currently pending and both of which are hereby incorporated by reference as if fully set forth herein.

FIELD OF THE ENTION

[0002] The present invention is of a system and a method, for enabling e-mail (electronic mail) messages to be received more quickly and efficiently by the user.

BACKGROUND OF THE INVENTION

[0003] Currently, most computer users hereinafter also referred to as “hers”) receive e-mail messages through a connection between a computer and an e-mail server. The e-mail server holds the received e-mail messages for the user, and may be installed at an ISP (Internet Service Provider), for example. Such servers usually operate according to the POP3 (Post Office Protocol 3) protocol or alternatively according to the IMAP4 (Internet Message Access Protocol, version 4) protocol. The computer of the user must operate an e-mail client, which is a software program for communicating with the e-mail server in order to download the e-mail messages, and then for displaying these e-mail messages to the user. The e-mail client communicates with the e-mail server according to the POP3 or IMAP4 protocol for receiving e-mail messages, and SMTP (Simple Message Transfer Protocol) for sending (or forwarding) e-mail messages.

[0004] The e-mail messages are typically encoded in the standard MIME multi-part message format, which enables the message to optionally also include one or more attachments, for example. Each part of the multi-part message may be separately and differently encoded, for example for plain text messages, as opposed to attached word processing documents, image files, video data, audio data and so forth. Such a multi-part message may be very large because of the size of the attachment(s).

[0005] Unfortunately, the e-mail client currently downloads the entire multi-part e-mail message when connected to the e-mail server for receiving messages. Since such a multi-part message may be very large, the process of downloading each message may require a significant period of time. Furthermore, the user cannot view each message with attachment(s) if any, until the entire message has been downloaded. If the computer of the user is connected to the e-mail server through a relatively slow, low bandwidth connection, such as a dial-up modern for example, then this process can be frustratingly slow.

[0006] The process is further slowed by the requirement for encoding the attachments in BASE64, in order to prevent the exposure of any control characters in the attachments to any servers which pass the e-mail message through the Internet. The BASE64 encoding method represents every 24 bits of the attachment with 32 bits, thereby increasing the size of the encoded attachments by about one third. Thus, the currently available mechanism for downloading e-mail messages clearly has a number of drawbacks.

[0007] An improved solution to this problem would enable the user to review e-mail messages before downloading them, or at least before downloading the complete multi-part message with attachment(s), as text-only e-mail messages are relatively small and quick to download. The user would still be able to download attachments of interest. In addition, the improved solution would provide for a streaming process for downloading e-mail attachments, in order for the user to be able to view the e-mail message as it is being downloaded. Unfortunately, such a solution is not currently available.

SUMMARY OF THE INVENTION

[0008] The background art does not teach or suggest the use of a system and method for more efficiently transmitting attachments, such that user can optionally select particular attachments to download and such that the attachments can be downloaded separately. The background art also does not teach or suggest the implementation of such a system and method with an e-mail proxy that is separate from an e-mail server, nor does the background art teach or suggest such an implementation with the functionality embedded with the e-mail server. The background art also does not teach or suggest a system and method which would also optionally and preferably enable the e-mail attachments to be downloaded in a streamed manner, for increased speed and efficiency of downloading.

[0009] The present invention overcomes these disadvantage of the background art by providing a system and method for providing e-mail messages to a user in a more efficient manner. Specifically, the system and method of the present invention enable attachments to be downloaded separately from the body of the e-mail message, which is typically text-only and which therefore requires less bandwidth to download. Instead, these attachments are represented by links in the message which is downloaded to the e-mail client of the user, such of the user can “click on” or otherwise select a link in order to retrieve the attachment Preferably, the attachment is downloaded to the computational device of the user in a streamed manner, for example according to the HTTP (HyperText Transfer Protocol) protocol.

[0010] The present invention may optionally operate with an e-mail proxy, which would optionally and more preferably be implemented as a separate server from the e-mail server. Alternatively; the present invention may operate in combination with the e-mail server, for example optionally by implementing the present invention as a software module for being operated by the e-mail server. Alternatively, the functionality of the present invention could optionally be integrated within he functions of the e-mail server, for example by integrating software. Other implementations of the present invention are also possible and are also considered to be within the scope of the present invention.

[0011] According to preferred embodiments of the present invention, the attachment is preferably transmitted with a streaming transmission that has already been decoded. The text is preferably transmitted separately.

[0012] According to the present invention, there is provided a method for selectively downloading a multi-part e-mail message to an e-mail client operated by a user from an e-mail server, the multi-part e-mail message including an attachment, the method comprising the stages of (a) retrieving at least attachment information for the multi-part e-mail message from the e-mail server; (b) preparing a formatted message for sending to the c-mail client, the formatted message containing at least a link to the attachment, such that the attachment is lot sent to the c-mail client; (c) sending the formatted message to the e-mail client; and (d) displaying the formatted message to the user by the e-mail client

[0013] According to another embodiment of the present invention, there is provided a system for selectively downloading a multi-part e-mail message for a user, the multi-part e-mail message including an attachment, the system comprising: (a) an e-mail server for receiving tee multi-part e-mail message; (b) an e-mail proxy in communication with the e-mail server for receiving at least attachment information about the multi-part e-mail message, and for preparing a formatted message containing a link to the attachment; and (c) an e-mail client in communication with the e-mail proxy for receiving the formatted message and for displaying the formatted message to the user, such that the attachment is displayed to the user after the user selects the link.

[0014] Hereinafter, th term “network” refers to a connection between any two or more computational devices which permits the transmission of data.

[0015] Hereinafter, the term “computational device” includes, but is not limited to, personal computers (PC) having an operating system such as Windows™, OS/2 or Linux; Macintosh™ computers; computers having JAVA™-OS as the operating system; graphical workstations such as the computers of Sun Microsystems™ and Silicon Graphics™, and other computers having some version of the UNIX operating system such as AIX or SOLARIS™ of Sun Microsystems™; or any other known and available operating system, or any device, including but not limited to; laptops, hand-held computers, PDA (personal data assistant) deices, cellular telephones, any type of WAP (wireless application protocol) enabled device, wearable computers of any sort; and any device which can be connected to a network as previously defined and which has an operating system. Hereinafter, the ten “Windows™” includes but is not limited to Windows95™, Windows NT™, Windows98™, Windows CE™, Windows2000™, and any upgraded versions of these operating systems by Microsoft Corp. (USA). It is understood that the term “computer”, as used herein, may refer to substantially any computational device.

[0016] For the present invention, a software application could be written in substantially any suitable programming language, which could easily be selected by one of ordinary skill in the art. The programming language chosen should be compatible with the computational device according to which the software application is executed. Examples of suitable programming languages include, but are not limited to, C, C++ and Java.

[0017] In addition, the present invention could be implemented as software, firmware or hardware, or as a combination thereof. For any of these implementations, the functional stages performed by the method could be described as a plurality of instructions performed by a data processor.

BRIEF DESCRIPTION OF THE DRAWINGS

[0018] The invention is herein described, by way of example only, with reference to the accompanying drawings, wherein:

[0019]FIG. 1 is a schematic block diagram of an exemplary system according to the present invention;

[0020]FIG. 2 is a flowchart of an exemplary method according to the present invention;

[0021]FIG. 3 is a schematic block diagram of another exemplary system according to the present invention; and

[0022]FIG. 4 is a flowchart of another exemplary method according to the present invention.

DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0023] The present invention is of a system and method for providing e-mail messages to a user in a more efficient manner. Specifically, the system and method of the present invention enable attachments, if present, to be downloaded separately from the e-mail message, which may be text only and which therefore requires less time to download. In any case, preferably only the text-part of the e-mail message is downloaded for multi-part messages, for greater efficiency of downloading. Rather than being downloaded directly with the remainder of the message, these attachments are optionally and preferably represented by links in the message which is downloaded to the e-mail client of the user, such that the user can “click on” or otherwise select a link in order to retrieve the attachment.

[0024] According to a further preferred embodiment of the present invention, the attachment is downloaded to the computational device of the user in a streamed manner. For example, the attachment could be downloaded according to the HTTP protocol, and then displayed by a Web browser or other suitable display software which is operated by the computational device of the user. Of course, other types of streaming protocols could optionally be used for downloading the file, along with any suitable display mechanism provided by the computational device. This has the advantage of enabling the user to view the attachment as it is being downloaded, rather than being required to wait for the entire attachment to be downloaded before viewing any part of it Optionally, the attachment could also be downloaded to the e-mail proxy in the background, as a separate procedure from the downloading of the text-part, or even “on the fly” according to the request of the user, depending upon the e-mail protocol which is used.

[0025] The principles and operation of the present invention may be better understood with reference to the drawings and the accompanying description. The present invention is operative with any e-mail protocol, including but not limited to, IMAP4 and POP3 protocols for receiving e-mail messages The POP3 protocol is explained in RFC1725, while the IMAP4 protocol is explained in RFC2060, both from the Network Working Group, although of course the scope of the present invention is not limited to operation with these protocols.

[0026] Referring now to the drawings, FIG. 1 is a schematic block diagram of a system according to the present invention for more rapidly and efficiently retrieving e-mail messages, particularly multi-part messages. A system 10 features a user computational device 12 which operates an e-mail client 14, and optionally also operates a Web browser 16. E-mail client 14 can optionally be implemented as any type of software program and/or other type of functionality which is able to communicate according to standard c-mail messaging protocols, such as POP3 and IMAP4 for example. A non-limiting example of such a software program is the Outlook™ program (Microsoft Corp., USA). The user is able to interact with e-mail client 14 and optionally with Web browser 16. User computational device 12 is connected to a network 18, such as the Internet for example, through which user computational device 12 is in communication with an e-nail proxy 20. E-mail proxy 20, in turn, is in communication with an e-mail server 22.

[0027] When the user wishes to retrieve one or more e-mail messages, the user activates e-mail client 14. According to the background art, e-mail client 14 would communicate directly with e-mail server 22. However, according to the present invention, e-mail proxy 20 first communicates with c-mail server 22, in order to retrieve one or more e-mail messages for the user, either in their entirety or as a portion thereof. E-mail proxy 20 then processes these messages. If an attachment is present, e-mail proxy 20 preferably processes the message by removing any attachment(s) and storing them if the entirety of the message is downloaded. Alternatively, if only a portion of the message is retrieved, for example for a multi-part message, preferably the text-part is retrieved, and e-mail proxy 20 then downloads the attachment(s), if present, in the background for storage.

[0028] E-mail proxy 20 then preferably substitutes a link to the storage location of the attachment in the e-mail message, and passes this modified e-mail message to e-mail client 14 at user computational device 12. The modified e-mail message is much smaller, and so can be downloaded much more quickly by user computational device 12.

[0029] The user may optionally decide to view one of the attachment(s), if the message has an attachment, at which point the user preferably “clicks on” or otherwise selects the appropriate link in the e-mail message through c-mail client 14. User computational device 12 then downloads the attachment from e-mail proxy 20. More preferably, the attachment is downloaded to user computational device 12 in a streamed manner, such that the user is able to start viewing each portion of the attachment as it arrives at user computational device 12. Optionally, such streamed downloading is achieved by activating Web browser 16, such that the attachment is then downloaded according to the HTTP protocol, and is displayed to the user through Web browser 16. In any case, in order to increase the speed and efficiency of downloading the attachment, the attachment is most preferably decoded, for example from BASE64 encoding, before being downloaded.

[0030]FIG. 2 is a flowchart of an exemplary method according to the present invention for retrieving an e-mail message, particularly a multi-part e-mail message. It should be noted that for the description below, the e-mail messages are assumed to be multi-part messages, for the purposes of explanation only and without any intention of being limiting.

[0031] In stage 1, the user enters a command to the e-mail client which is operated by the computational device of the user, in order to read the e-mail “inbox” of the user. According to the background art, in stage 2, the e-mail client would communicate with a background e-mail server, for example at an ISP though a dial-up modern connection.

[0032] According to the present invention, however, in stage 2, the e-mail client communicates with an e-mail proxy, described with regard to FIG. 1 above. The e-mail proxy of the present invention communicates with the background art e-mail server in order to receive at least a portion of the multi-part e-mail messages. As explained in greater detail below, according to the POP3 protocol, the complete multi-part e-mail messages, with attachments (if any), are downloaded. Alternatively, according to the IMAP4 protocol, optionally only the header information for the attachments is downloaded, while the attachments themselves are downloaded at a later point (for example, in the background). The first part of this process occurs in stage 3, when the e-mail proxy “logs into”, or gains access permission for, the inbox of the user on the e-mail server. According to the POP3 protocol, the process of “logging in” involves the establishment of a TCP connection between the e-mail proxy and the e-mail server, through a handshake procedure (see for example RFC 1725 from the Network Working Group for a description of this protocol). Once the connection has been established, the e-mail server sends a greeting to the e-mail proxy, after which commands may be exchanged for retrieving e-mail messages. These commands typically include sending information from the e-mail proxy to the e-mail server for the purposes of authorization, such as a user name for identifying the inbox and a password, as well as transaction commands for actually receiving the e-mail message(s).

[0033] The remainder of the method is explained separately with regard to the POP3 protocol and the IMAP4 protocol. IMAP4 has the advantage of supporting commands such as “SEARCH”, which enable the e-mail server to return only e-mail messages of interest, such that the e-mail proxy does not need to parse the headers of the e-mail messages in order to determine which e-mail message(s) are of interest. IMAP4 also supports the ability to retrieve only part of the e-mail message directly, with the “FETCH” command. A complex request for part of an attachment can also be sent with the “FETCH” command.

[0034] In stage 4, if stage 3 is successful, the e-mail proxy sends at least one command to the e-mail server to read the inbox of the user. First, the e-mail proxy could send the “STAT” command to determine the total number of message and the total size of these messages. The e-mail proxy then sends the “LIST” command to the e-mail server in order to receive a list of e-mail messages. The received list includes the message identification numbers. The e-mail proxy then downloads the complete multi-part message for the POP3 protocol, but alternatively downloads only the header or headers for the e-mail message(s) by using the “fetch” command for the IMAP4 protocol More preferably, for the IMAP4 protocol, all of the headers of all of the message-parts for all of the messages are retrieved, such that complete information about all of the messages is obtained, but not the message content.

[0035] Stage 4, or any part thereof as required, is preferably repeated as necessary such that in stage 5, the e-mail proxy receives at least one, but preferably all of the attachments for the e-mail messages which are in the inbox.

[0036] Alternatively, the e-mail proxy could download the entirety of each e-mail message, with attachments if any, by sending the “RETR” command to the e-nail server, thereby combining stages 4 and 5 into a single stage if all of the e-mail messages are to be retrieved at once, as according to the POP3 protocol.

[0037] Regardless of which type of downloading method is preferred, the e-mail proxy preferably provides some type of identification information, in order for the user to be able to determine which e-mail messages are of interest, for example in order to download the attachment(s) of the e-mail message, if any. The method now splits to two branches. For the left branch, which is performed according to the IMAP4 protocol, the attachment information preferably only features certain header information, while the attachment itself is optionally retrieved separately. For the right branch, which is performed according to the POP3 protocol, the entirety of the multi-part e-mail message is retrieved, with the attachment. In either case, more preferably the user is presented with at least a portion of the actual text e-mail message, which is not an attachment As shown in the left branch, in stage 6a, the e-mail proxy optionally and preferably parses the headers of the message, more preferably according to at least one user preference. For example, the user could request to see only the identity of the sender and the subject of the e-mail message. As described with regard to RFC822 and RFC2045 (Network Working Group), the e-mail message has a predefined structure, such that a multi-part message has a main header, followed by the body. The body itself may have a plurality of headers and bodies for each part of the multi-part message, for example for the text-part, as well as for each attachment. The main header includes fields, which are indicated according to a predefined lexical structure.

[0038] In stage 7a, the e-mail proxy optionally and preferably prepares a formatted message containing the information of interest to be sent to the user computational device for display to the user. In particular, the formatted message preferably contains the text-part, as well as a link to each attachment which is added to the message in the place of each attachment. This stage is preferably repeated until all attachments have been replaced by links in the formatted message.

[0039] In parallel, in stage 8a the e-mail proxy optionally and more preferably starts to download each attachment from the e-mail server, most preferably as a background process. Alternatively, the process of downloading each attachment may be performed “on the fly” upon receiving a request from the user, as described in greater detail below. Once the attachment bas been received, it is preferably decoded, as described in greater detail below.

[0040] Turning now to the right branch, which is performed according to the POP3 protocol, the e-mail proxy receives the entirety of the multi-pan e-mail message, including all attachments. In stage 6b (1), the e-mail proxy parses the multi-part message to determine the boundaries of each portion In stage 6b(2), when an attachment is found, the header and body of each attachment is removed from the multi-part message, and the attachment itself is stored at a particular location on the e-mail proxy. More preferably, this stage also includes the stage of decoding each attachment, for example from BASE64 coding. The actual method applied for decoding the attachment data depends upon the type of encoding method which was used, as described in RFC2045 For example, BASE64 Content-Transfer-Encoding transforms 24-bit groups of input bits into strings of four encoded characters as the output, according to a table given in RFC2045. Decoding reverses the procedure, and takes every four encoded characters for transformation back to the original data according to the correspondence which is given in the table. After decoding, the data is in the original content type, such as text for example.

[0041] In stage 7b, a short one-link to the storage location on the e-mail proxy is added to the multi-part message, in place of the attachment. Stages 6b(2) and 7b are preferably repeated as necessary in order to replace all such attachments. In stage 8b, the formatted message is prepared from the text-only portion of the e-mail message and the links to the location for storing each attachment, which in this case has already been received and stored by the e-mail proxy.

[0042] In stage 9, the e-mail proxy sends the formatted message to the user computational device, preferably including the text-part of the message with link(s) to any attachment(s).

[0043] Optionally and more preferably, the e-mail proxy sends the formatted message to the user computational device in a streamed manner. By “streaming” it is meant that the formatted message is sent without encoding, such that the user computational device can immediately begin to display the formatted message as soon as any portion of it is received. If streaming is used to send the formatted message, then the formatted message is more preferably transmitted according to HTTP (HyperText Transfer Protocol) commands, such that the formatted message is optionally prepared as an HTML (HyperText Mark-up Language) document for example.

[0044] In stage 10, the user computational device displays the formatted message, after which the user is able to determine which additional information is to be retrieved from the e-mail proxy. If the formatted message contains one or more links to an attachment, then in stage 11, the user can choose to download an attachment by “clicking on” the link with a mouse or other pointing device, or otherwise selecting the link.

[0045] In stage 12, the attachment is preferably downloaded in a streamed manner, optionally and more preferably by activating a Web browser. The Web browser can then download the attachment through HTTP (HyperText Transfer Protocol) streaming. Downloading the attachment in a streamed manner allows the user to view the attachment through the Web browser as the attachment is being downloaded, in stage 13. Such a streamed manner is particularly useful for large media files which are designed to be played to the user in a streamed manner, such as video and audio files. Furthermore, the amount of time which is required to download these files is also reduced by first decoding the files, such that the BASE64 encoding is removed from the data, as such encoding tends to add a third of the size of the data, as previously noted.

[0046]FIG. 3 shows another exemplary embodiment of the present invention, in which the functionality of the e-mail proxy of FIG. 1 is preferably located at the e-mail server itself. The components of the system are otherwise similar to those of FIG. 1.

[0047] An e-mail processor 30 is now preferably located at e-mail server 22. E-mail processor 30 preferably performs those functions required for processing multi-part e-mail messages, particularly those messages which contain attachments, for more efficient transmission to e-mail client 14 at user computational device 12. As for FIG. 1, when the user wishes to retrieve one or more e-mail messages, the user activates e-mail client 14, which communicates directly with e-mail server 22. E-mail server 22 then preferably retrieves one or more e-mail messages for the user, either in their entirety or as a portion thereof. E-mail server 22 may then optionally and preferably break the messages into portions, more preferably for multi-part messages. For example, e-mail server 22 may optionally and preferably store an attachment separately from a text-part of the message. E-mail server 22 then optionally and preferably constructs an e-mail message to be sent to the user (or more preferably, to be retrieved by the user). This constructed e-mail message preferably contains a portion of the original e-mail message, and more preferably contains only a portion of the original e-mail message, most preferably the text-part For this preferred embodiment, e-mail processor 30 then preferably inserts a link to the attachment in the constituted e-mail message, providing the location in which the attachment is stored with regard to e-mail server 22.

[0048] Alternatively, e-mail processor 30 then processes these messages, preferably by removing any attachments and storing them if the entirety of the multi-part message is downloaded. Alternatively, if only a portion of the multi-part message is retrieved, preferably the text-part, e-mail processor 30 then preferably causes the attachments to be downloaded in the background for storage. E-mail processor 30 optionally and preferably processes the attachment with the attachment information, or alternatively processes the attachment separately from the attachment information. E-mail processor 30 then also preferably substitutes a link to the storage location of the attachment in the e-mail message.

[0049] E-mail server 22 preferably passes this modified e-mail message to e-mail client 14 at user computational device 12. The modified e-mail message is much smaller, and so can be downloaded much more quickly by user computational device 12.

[0050] The user may optionally decide to view one of the attachments, at which point the user preferably “clicks on” or otherwise selects the appropriate link in the e-mail message through e-mail client 14 User computational device 12 then downloads the attachment from e-mail server 22. More preferably, the attachment is downloaded to user computational device 12 in a streamed manner, such that the user is able to start viewing each portion of the attachment as it arrives at user computational device 12. Optionally, such streamed downloading is achieved by activating Web browser 16, such that the attachment is then downloaded according to the HTTP protocol, and is displayed to the user through Web browser 16. In any case, in order to increase the speed and efficiency of downloading the attachment, the attachment is most preferably decoded, for example from BASE64 encoding, before being downloaded.

[0051] With regard to the method described in FIG. 2, a similar method may optionally bc performed with the system of FIG. 3, but with some alterations (the exemplary method is described with regard to FIG. 4 below). For example, the earlier stages (16) of FIG. 2, which are concerned with having the e-mail proxy “log in” to the e-mail server, are preferably not performed. Instead, the e-mail processor is preferably located at the e-mail server and is actually preferably embedded within the server. Otherwise, as described below, many of the processing functions of the e-mail proxy are preferably performed by the e-mail processor.

[0052] As shown with regard to FIG. 4, which shows a flowchart of an exemplary method for operating the system of FIG. 3, the method may optionally be performed according to one of two branches. It should be noted that the e-mail messages are assumed to be multi-part messages, for the purposes of explanation only and without any intention of being limiting. For the left branch, which is performed according to the IMAP4 protocol, the attachment information preferably only features certain header information, while the attachment itself is optionally retrieved separately. For the right branch, which is performed according to the POP3 protocol, the entirety of the multi-part e-mail message is retrieved, with the attachment. In either case, more preferably the user is presented with at least a portion of the actual text e-mail message, which is not an attachment.

[0053] As shown in the left branch, in stage 1a, the e-mail processor optionally and preferably parses the headers of the message, more preferably according to at least one user preference Alternatively, such parsing could optionally be performed by the e-mail server itself For example, the user could request to see only the identity of the sender and the subject of the e-mail message. As described with regard to RFC822 and RFC2045 (Network Working Group), the e-mail message has a Predefined structure, such that a multi-part message has a main header, followed by the body. The body itself may have a plurality of headers and bodies for each Part of the multi-part message, for example for the text-part, as well as for each attachment. The main header includes fields, which are indicated according to a predefined lexical structure.

[0054] In stage 2a, the e-mail processor optionally and preferably prepares a formatted message containing the information of interest to be sent to the user computational device for display to the user. Alternatively, such a formatted message could optionally be constructed by the e-mail server itself. In particular, the formatted message preferably contains the text-part, as well as a link to each attachment which is added to the message in the place of each attachment. This stage is preferably repeated until all attachments have been replaced by links in the formatted message.

[0055] In parallel, in stage 3a, the e-mail processor optionally and more preferably decodes each attachment from the e-mail server, as described in greater detail below. Alternatively, the e-mail server may performing the decoding process.

[0056] Turning now to the right branch, which is performed according to the POP3 protocol, the e-mail server receives the entirety of the multi-part e-mail message, including all attachments, if any are present. In stage 1b(1), the e-mail processor (or alternatively, the e-mail server) parses the multi-part message to determine the boundaries of each portion. In stage 1b(2), when an attachment is found, the header and body of each attachment is removed from the multi-part message, and the attachment itself is stored at a particular location. More preferably, this stage also includes the stage of decoding each attachment, for example from BASE64 coding.

[0057] The actual method applied for decoding the attachment data depends upon the type of encoding method which was used, as described in RFC2045. For example, BASE64 content-Transfer-Encoding transforms 24-bit groups of input bits into strings of four encoded characters as the output, according to a table given in RFC2045. Decoding reverses the procedure, and takes every four encoded characters for transformation back to the original data according to the correspondence which is given in the table. After decoding, the data is in the original content type, such as text for example.

[0058] In stage 2b, a short one-link to the storage location, optionally on the e-mail server is added to the multi-part message, in place of the attachment. Preferably, the e-mail processor adds the link to the formatted message. Stages 1b(2) and 2b are preferably repeated as necessary in order to replace all such attachments. In stage 3b, the formatted message is preferably prepared from the text-only portion of the e-mail message and the links to the location for storing each attachment In stage 4, the e-mail server sends the formatted message to the user computational device, preferably including the text-part of the message with link(s) to any attachment(s), if any are present. Optionally and more preferably, the e-mail server sends the formatted message to the user computational device in a streamed manner. By “streaming” it is meant that the formatted message is sent without encoding, such that the user computational device can immediately begin to display the formatted message as soon as any portion of it is received. If streaming is used to send the formatted message, then the formatted message is more preferably transmitted according to HTTP (HyperText Transfer Protocol) commands, such that the formatted message is optionally prepared as an HTML (HyperText Mark-up Language) document for example.

[0059] In stage 5, the user computational device displays the formatted message, after which the user is able to determine which additional information is to be retrieved from the e-mail processor. If the formatted message contains one or more links to an attachment, then in stage 6, the user can choose to download an attachment by “clicking on” the link with a mouse or other pointing device, or otherwise selecting the link.

[0060] In stage 7, the attachment is preferably downloaded in a streamed manner, optionally and more preferably by activating a Web browser, although alternatively according to any suitable protocol for streaming downloads. The Web browser can then download the attachment through HTTP (HyperText Transfer Protocol) streaming. Downloading the attachment in a streamed manner allows the user to view the attachment through the Web browser as the attachment is being downloaded, in stage 8. Such a streamed manner is particularly useful for large media files which are designed to be played to the user in a streamed manner, such as video and audio files. Furthermore, the amount of time which is required to download these files is also reduced by first decoding the files, such that the BASE64 encoding is removed from the data, as such encoding tends to add a third of the size of the data, as previously noted.

[0061] While the invention has been described with respect to a limited number of embodiments, it will be appreciated that many variations, modifications and other applications of the invention may be made. 

What is claimed is:
 1. A method for selectively downloading a multi-part c-mail message to an e-mail client operated by a user from an e-mail server, the multi-part e-mail message optionally including an attachment, the method comprising: retrieving at least attachment information for the multi-part e-mail message from the e-mail server; preparing a formatted message for sending to the e-mail client, said formatted message containing a link to the attachment if present, such that the attachment is not sent to the e-mail client; sending said formatted message to the e-mail client; and displaying said formatted message to the user by the e-mail client.
 2. The method of claim 1, wherein said attachment information includes the entirety of the multi-part e-mail message, such that said preparing further comprises separating the multi-part e-mail message into a plurality of portions, including at least a first portion containing the attachment.
 3. The method of claim 2, wherein the multi-part e-mail message includes a text-part, such that said preparing further comprises separating the multi-part e-mail message into a second portion containing said text-part, and wherein said preparing includes adding said second portion to said formatted message.
 4. The method of claim 3, further comprising: selecting said link by the user from said formatted message.
 5. The method of claim 4, further comprising: downloading said attachment in a streamed manner for viewing by the user.
 6. The method of claim 5, further comprising: providing a Web browser for interacting with the user; and displaying said attachment by said Web browser, such that said downloading said attachment is performed according to HTTP.
 7. The method of claim 5, wherein said attachment is decoded before being downloaded.
 8. The method of claim 1, wherein said attachment information is a header for the attachment, such that the method further comprises: downloading the attachment from the e-mail server.
 9. The method of claim 8, wherein said downloading the attachment is performed in parallel to said preparing said formatted message.
 10. The method of claim 5, wherein said downloading the attachment includes decoding said attachment.
 11. Ale method of claim 1, wherein said attachment information is a header for the attachment, such that the method further comprises: selecting said link by the user from said formatted message; downloading the attachment from the e-mail server, and downloading said attachment to the e-mail client client in a streamed manner for viewing by the user.
 12. The method of claim 11, further comprising: providing a Web browser for interacting with the user; and displaying said attachment by said Web browser, such that said providing said Web browser is performed according to HTTP.
 13. The method of claim 1, wherein said retrieving at least attachment information includes providing an e-mail proxy for communicating with the e-mail server and with the e-mail client, such that said retrieving at least attachment information, said preparing said formatted message, and said sending said formatted message are performed by said e-mail proxy.
 14. A system for selectively downloading a multi-part e-mail message for a user, the multi-part e-mail message optionally including an attachment, the system comprising: (a) an e-mail server for receiving the multi-part e-mail message; (b) an e-mail proxy in communication with said e-mail server for receiving at least attachment information about the multi-part e-mail message, if the attachment is present, and for preparing a formatted message containing a link to the attachment; and (c) an e-mail client in communication with said e-mail proxy for receiving said formatted message and for displaying said formatted message to the user, such that the attachment is displayed to the user after the user selects said link.
 15. The system of claim 14, wherein said e-mail proxy downloads the attachment with said attachment information.
 16. The system of claim 14, wherein said e-mail proxy downloads the attachment separately from said attachment information.
 17. The system of claim 14, wherein the multi-part e-mail message contains a text-part, and said formatted message includes said text-part.
 18. The system of claim 14, wherein said e-mail proxy downloads and decodes the attachment before the attachment is sent to said e-mail client.
 19. A system for selectively downloading a multi-part e-mail message for a user, the multi-part e-mail message optionally including an attachment, the system comprising: (a) an e-mail server for receiving the multi-part e-mail message; (b) an e-mail processor being located at said e-mail server for receiving at least attachment information about the multi-part re-mail message, if the attachment is present, and for preparing a formatted message containing a link to the attachment; and (c) an e-mail client in communication with said e-mail server for receiving said formatted message and for displaying said formatted message to the user, such that the attachment is displayed to the user after the user selects said link.
 20. The system of claim 19, wherein said e-mail processor processes the attachment with said attachment information.
 21. The system of claim 19, wherein said e-mail processor processes the attachment separately from said attachment information.
 22. The system of claim 19, wherein the multi-part e-mail message contains a text-part, and said formatted message includes said text-part.
 23. The system of claim 19, wherein said e-mail processor decodes the attachment before the attachment is sent to said e-mail client.
 24. A method for selectively downloading a multi-part e-mail message to an e-mail client operated by a user from an e-mail proxy, the multi-part e-mail message optionally including at least one attachment, the method comprising: retrieving at least a portion of the multi-part e-mail message from an e-mail server; if present, downloading the at least one attachment of the multi-part e-mail message from said e-mail server; separating said at least a portion of the multi-part e-mail message into a plurality of portions; preparing a formatted message by the e-mail proxy for sending to the e-mail client, said formatted message containing a link to the at least one attachment, such that the portion containing the at least one attachment is not sent to the e-mail client; sending said formatted message to the e-mail client; and displaying said formatted message to the user by the e-mail client.
 25. The method of claim 24, wherein the multi-part e-mail message includes a text-part, such that separating said at least a portion of the multi-part e-mail message further comprises separating the multi-part e-mail message into a second portion containing said text-part, and wherein said separating said at least a portion of the multi-part e-mail message includes adding said second portion to said formatted message.
 26. The method of claim 25, further comprising: selecting said link by the user from said formatted message.
 27. The method of claim 26, further comprising: downloading the at least one attachment in a streamed manner for viewing by the user.
 28. The method of claim 27, further comprising: providing a Web browser for interacting with the user, and displaying the at least one attachment by said Web browser, such that downloading the at least one attachment in a steamed manner is performed according to HTTIP.
 29. The method of claim 27, wherein the at least one attachment is decoded before being downloaded.
 30. The method of claim 24, wherein said preparing is performed in parallel to said preparing said formatted message.
 31. The method of claim 27, wherein said downloading the at least one attachment includes decoding the at least one attachment.
 32. The method of claim 24, wherein said attachment information is a header for the at least one attachment, such that the method further comprises: selecting said link by the user from said formatted message; downloading the at least one attachment from the e-mail server; and downloading the at least one attachment from proxy to client in a streamed manner for viewing by the user.
 33. The method of claim 32, further comprising: providing a Web browser for interacting with the user; and displaying the at least one attachment by said Web browser.
 34. A system for selectively downloading a multi-part e-mail message for a user, the multi-part e-mail message optionally including an attachment, the system comprising: (a) an e-mail server for receiving the multi-part e-mail message containing at least one of a header or text body; (b) an e-mail proxy in communication with said e-mail server for receiving at least attachment information about the multi-part e-mail message, and for preparing a formatted message containing a link to the attachment in conjunction with said at least one of header or text body; and (c) an e-mail client in communication with said e-mail proxy for directly receiving said formatted message and for displaying said formatted message to the user, such that the attachment is displayed to the user after the user selects said link. 